package cn.yang.domain.strategy.service.rule.chain;

/**
 * @version v1.0
 * @ClassName: cn.yang.domain.strategy.service.rule.chain
 * @Description: TODO
 * @Author: YJ
 */
public abstract class AbstractLogicChain implements ILogicChain {
    private ILogicChain next;

    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.next = next;
        return next;
    }

    @Override
    public ILogicChain next() {
        return next;
    }
    protected abstract String ruleModel();
}
